package com.property.service;

import com.property.pojo.Building;
import com.property.pojo.Resident;

import java.util.List;

public interface BuildingServer {
    //查询所有的信息
    List<Building> findAllBuilding();
    //查询所有的房屋包括住户
    String findAllBuildingResident(Integer page);
    //添加房间信息
    String saveBuilding(Building building);
    //根据id查询房屋信息
    Building findBuildingBybId(Integer bId);
    //删除房屋信息
    int deleteBuilding(Integer bId);
}
